const express = require("express");
const router = express.Router();
const department = require("./department/index");
const train = require("./department/train");

// 分页查询部门列表
router.post("/queryDepartment", department.queryDepartment);
router.post("/addDepartment", department.addDepartment);
router.post("/deleteDepartment", department.deleteDepartment);
router.post("/updateDepartment", department.updateDepartment);

// 部门培训
router.post("/queryDepartmentTraining", train.queryDepartmentTraining);
router.post("/addDepartmentTraining", train.addDepartmentTraining);
router.post("/deleteDepartmentTraining", train.deleteDepartmentTraining);
router.post("/updateDepartmentTraining", train.updateDepartmentTraining);


module.exports = router;
